/*
 * @Description: 用户订单取消成功   SuccessfulCancellationOrder
 * @version: 
 * @Company: 
 * @Author: ZhengZhuang
 * @Date: 2019-08-28 16:09:35
 * @LastEditors: zhengzhuang
 * @LastEditTime: 2020-08-04 10:11:50
 */
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:C20Driver/widget/order_taking_operation_widget.dart';

class SuccessfulCancellationOrder extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('取消订单'),
      ),
      body: Container(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            Center(
              child: Column(
                children: <Widget>[
                  SizedBox(height: ScreenUtil().setWidth(100.0)),
                  Image.asset(
                    'assets/icon/successfulSubmissionIcon.png',
                    width: ScreenUtil().setWidth(200.0),
                    height: ScreenUtil().setWidth(200.0),
                  ),
                  SizedBox(height: ScreenUtil().setWidth(30.0)),
                  Text(
                    '订单取消成功',
                    style: TextStyle(
                      fontSize: ScreenUtil().setSp(36.0),
                    ),
                  )
                ],
              ),
            ),
            OrderTakingOperationWidget(),
          ],
        ),
      ),
    );
  }
}
